Colin Walters [Tue, 19 Jun 2012 20:14:31 +0000 (16:14 -0400)]
core: Don't silence output of ostree-run-triggers
We want to see which triggers are being run by default.
Colin Walters [Tue, 19 Jun 2012 19:03:16 +0000 (15:03 -0400)]
triggers: Quiet GConf trigger
The default is just way, way too verbose.
Colin Walters [Thu, 14 Jun 2012 20:22:23 +0000 (16:22 -0400)]
Support building with embedded libsoup
Colin Walters [Thu, 7 Jun 2012 21:21:55 +0000 (17:21 -0400)]
Support building with embedded glib
Colin Walters [Thu, 14 Jun 2012 02:09:24 +0000 (22:09 -0400)]
triggers: Fix previous commit
Adrian Perez [Wed, 13 Jun 2012 14:58:53 +0000 (17:58 +0300)]
Add fontconfig trigger
This wil regenerate the fontconfig caches, accounting for modifications in
the system font directories.
Colin Walters [Tue, 12 Jun 2012 18:50:38 +0000 (14:50 -0400)]
core: Fall back to copying checkouts on EMLINK/EXDEV
The previous fix to just ignore symbolic links for hard linking isn't
really good enough, since it can happen for empty files too.
Since this is an optimization, when we get EMLINK, let's instead just
fall back to copying. This also applies to EXDEV.
Colin Walters [Fri, 8 Jun 2012 23:01:20 +0000 (19:01 -0400)]
ostbuild: Move to gnome-ostree module
Since we want to keep "ostree" buildsystem-independent, let's move
ostbuild out into the gnome-ostree module.
http://git.gnome.org/browse/gnome-ostree/commit/?id=
04ba1926e33b442af1e357460e4415d4c0311e87
Colin Walters [Fri, 8 Jun 2012 20:51:51 +0000 (16:51 -0400)]
ostbuild: Fix previous commit (this should have been amended)
Colin Walters [Fri, 8 Jun 2012 20:34:45 +0000 (16:34 -0400)]
ostbuild: Fix -k option to git-mirror
Colin Walters [Thu, 7 Jun 2012 14:19:16 +0000 (10:19 -0400)]
ostbuild: Allow specifying components to git fetch
Colin Walters [Thu, 7 Jun 2012 02:12:49 +0000 (22:12 -0400)]
build: Actually, we need bleeding edge libsoup
The stable version compiles, but just hangs =/
Colin Walters [Thu, 7 Jun 2012 02:06:30 +0000 (22:06 -0400)]
build: Bump libsoup dependency
Colin Walters [Wed, 6 Jun 2012 19:43:42 +0000 (15:43 -0400)]
ostbuild: Add rootdir argument to deploy-qemu
Colin Walters [Wed, 6 Jun 2012 16:56:48 +0000 (12:56 -0400)]
ostbuild: Fix circular dependency between resolve and git-mirror
git-mirror was looking for the latest snapshot, which we don't
have until we resolve.
This leads to some code duplication.
Colin Walters [Wed, 6 Jun 2012 14:02:37 +0000 (10:02 -0400)]
core: Fix mkdtemp invocation
Colin Walters [Wed, 6 Jun 2012 02:55:47 +0000 (22:55 -0400)]
ostbuild: Add -k option to git-mirror
libwacom's sourceforge git server was down...
Colin Walters [Sun, 20 May 2012 20:21:57 +0000 (16:21 -0400)]
pull: Download and checksum asynchronously
This is quite a noticeable speedup when downloading loose objects.
Colin Walters [Tue, 5 Jun 2012 22:29:32 +0000 (18:29 -0400)]
core: Fix memory leak
Colin Walters [Thu, 31 May 2012 14:25:41 +0000 (10:25 -0400)]
core: Just require libsoup, not libsoup-gnome
Colin Walters [Thu, 31 May 2012 14:10:13 +0000 (10:10 -0400)]
TODO: Update
Colin Walters [Wed, 30 May 2012 02:34:11 +0000 (22:34 -0400)]
core: Switch to using mkdtemp() so we only depend on GLib 2.28
We claim to build against 2.28, let's actually make it work.
Colin Walters [Wed, 30 May 2012 02:09:31 +0000 (22:09 -0400)]
core: Drop some dead temporary file code
Matthias Clasen [Sat, 26 May 2012 22:48:06 +0000 (18:48 -0400)]
Trivial: fix a typo
Colin Walters [Sat, 26 May 2012 16:10:51 +0000 (12:10 -0400)]
ostbuild: Have resolve use git-mirror rather than duplicating code
This also brings us back to a sensible world of:
ostbuild resolve --fetch
Doing both fetch *and* writing out the updated revisions.
Colin Walters [Sat, 26 May 2012 15:55:12 +0000 (11:55 -0400)]
core: Don't checkout symbolic links via hardlink
Doing so can easily get us up to the maximum ext4 hardlink count.
Colin Walters [Fri, 25 May 2012 19:01:41 +0000 (15:01 -0400)]
ostbuild: add --diffstat option for source-diff
Colin Walters [Fri, 25 May 2012 19:00:45 +0000 (15:00 -0400)]
core: use GLIB_VERSION_MAX_ALLOWED=2.28
We want to build/run even on relatively old OSes, so that we can
be used to bootstrap and maintain newer builds.
Colin Walters [Fri, 25 May 2012 13:55:10 +0000 (09:55 -0400)]
core: Remove leftover debug print
Colin Walters [Fri, 25 May 2012 01:17:43 +0000 (21:17 -0400)]
Release 2012.7
Colin Walters [Fri, 25 May 2012 00:58:20 +0000 (20:58 -0400)]
core: ostree-pull: Add --depth option
This is useful for getting say the last 10 builds.
Colin Walters [Fri, 25 May 2012 00:14:51 +0000 (20:14 -0400)]
core: Attempt direct link() and fallback on EEXIST
Rather than always doing:
1) make temporary link
2) unlink() target
3) rename()
Just try making the link, and only do the second two if the file
already exists. This reduces system call traffic a lot.
Colin Walters [Thu, 24 May 2012 23:54:36 +0000 (19:54 -0400)]
ostbuild: Add 'tag' concept to manifest, improve git mirroring
We should explicitly distinguish between the case where we have a git
branch we're following, versus an immutable tag. In the latter case,
we can entirely avoid running 'git fetch' for it once we have it.
This is a noticeable speedup in our current scenario of pinning WebKit
to a tag.
The git mirroring code now has a --fetch-skip-secs=X option which
allows us to basically run it in a loop, without hitting remote git
repositories too often.
Colin Walters [Thu, 24 May 2012 22:11:06 +0000 (18:11 -0400)]
ostbuild: git-mirror: Also fetch patches git
Colin Walters [Wed, 23 May 2012 22:08:52 +0000 (18:08 -0400)]
core: Make OstreeRepo struct private
Colin Walters [Wed, 23 May 2012 22:02:08 +0000 (18:02 -0400)]
ostbuild: Fix --debug-shell option
Colin Walters [Wed, 23 May 2012 11:48:16 +0000 (07:48 -0400)]
core: Make device/inode loose object cache work for parent repos too
Otherwise ostbuild suddenly becomes significantly slower when using a
shadow repo.
Colin Walters [Tue, 22 May 2012 12:26:17 +0000 (08:26 -0400)]
ostbuild: Few more misc fixes
Colin Walters [Mon, 21 May 2012 22:41:59 +0000 (18:41 -0400)]
ostbuild: Fix typos in component lookup path
Colin Walters [Sat, 19 May 2012 00:25:02 +0000 (20:25 -0400)]
ostbuild: Enhance source-diff with --log and --logp options
Colin Walters [Sat, 19 May 2012 00:12:35 +0000 (20:12 -0400)]
ostbuild: Add source-diff builtin
OMG OMG OMG
Colin Walters [Sat, 19 May 2012 00:12:17 +0000 (20:12 -0400)]
core: Rearrange code for clarity (doesn't actually fix leaks)
Colin Walters [Wed, 16 May 2012 13:23:24 +0000 (09:23 -0400)]
ostbuild: Drop dead branch-prefix and pull-components
And other various tweaks.
Colin Walters [Tue, 15 May 2012 14:11:50 +0000 (10:11 -0400)]
ostbuild: Various fixes, removal of dead code
Colin Walters [Tue, 15 May 2012 12:54:44 +0000 (08:54 -0400)]
ostbuild: Remove /var from components
We expect them to create on demand.
Colin Walters [Tue, 15 May 2012 12:39:17 +0000 (08:39 -0400)]
ostbuild: Fix git-mirror
Colin Walters [Tue, 15 May 2012 02:43:25 +0000 (22:43 -0400)]
ostbuild: Some work on qemu deployment
Colin Walters [Mon, 14 May 2012 13:29:38 +0000 (09:29 -0400)]
ostadmin: Update for new trees/ location of trees
Colin Walters [Tue, 15 May 2012 00:47:14 +0000 (20:47 -0400)]
ostbuild: Add import-tree
This is the new workflow:
$ ostbuild import-tree wip-gnome-menus-3.6
$ $EDITOR ~/build/ostbuild/snapshots/wip-gnome-menus-3.6-2012.1-abcd.json
$ ostbuild build
Colin Walters [Sun, 13 May 2012 19:53:55 +0000 (15:53 -0400)]
ostbuild: Tighten build process significantly
First, "resolve" now just picks git commits. We don't expand
config-opts and patches, nor do we generate tree contents. This makes
the generated files *much* more human editable.
Next, fold "build-components" and "compose" into just "build". One
never really wants to just build components. This lets us eliminate
binary snapshots as a concept; instead we always have a combination of
source snapshot and component/ refs.
Colin Walters [Sat, 12 May 2012 14:42:23 +0000 (10:42 -0400)]
ostbuild: More work on partial builds
Colin Walters [Fri, 11 May 2012 22:22:28 +0000 (18:22 -0400)]
ostbuild: Make partial builds work
If we have component-revisions in our source+binary snapshot, then
we can skip them.
Colin Walters [Fri, 11 May 2012 20:24:32 +0000 (16:24 -0400)]
ostbuild: Write out related objects on composes
Colin Walters [Fri, 11 May 2012 20:24:23 +0000 (16:24 -0400)]
ostbuild: Minor fixes
Colin Walters [Thu, 10 May 2012 23:07:54 +0000 (19:07 -0400)]
ostbuild: Make binary snapshots an extension of source
This significantly simplifies things; we no longer need to retrieve
individual components via 'pull-components', etc.
Colin Walters [Tue, 15 May 2012 14:43:55 +0000 (10:43 -0400)]
tests: Tweak valgrind suppression
Colin Walters [Tue, 15 May 2012 02:23:01 +0000 (22:23 -0400)]
core: Prefer packed metadata
Colin Walters [Mon, 14 May 2012 19:49:49 +0000 (15:49 -0400)]
core: Map metadata from repository as trusted
ot_util_variant_map() assumed untrusted; add a boolean, and use it for
the repository internals.
Colin Walters [Tue, 15 May 2012 21:49:59 +0000 (17:49 -0400)]
core: Limit recursion during traversal
The related objects commit introduced OSTREE_MAX_RECURSION; use it.
Colin Walters [Tue, 15 May 2012 00:46:41 +0000 (20:46 -0400)]
core: Add write-refs builtin
This will be used by import-tree to pipe refs to write.
Colin Walters [Fri, 11 May 2012 20:23:28 +0000 (16:23 -0400)]
core: Allow adding related objects to commits
This will be used to store the set of components.
Colin Walters [Mon, 14 May 2012 16:26:15 +0000 (12:26 -0400)]
core: Really fix saving variants with REPLACE_DESTINATION
Colin Walters [Mon, 14 May 2012 15:31:53 +0000 (11:31 -0400)]
core: Make argument parsing more robust against "lt-ostree" name
When running uninstalled, we were parsing our argv[0] incorrectly.
Colin Walters [Mon, 14 May 2012 14:21:05 +0000 (10:21 -0400)]
core: Replace pack superindex via rename() rather than truncating
This helps allow cloning repositories via "cp -al".
Colin Walters [Mon, 14 May 2012 15:15:24 +0000 (11:15 -0400)]
core: Clarify error message
Matthias Clasen [Tue, 8 May 2012 03:19:21 +0000 (23:19 -0400)]
ostree-pull: Avoid an uninitialized variable warning
Matthias Clasen [Fri, 11 May 2012 01:00:48 +0000 (21:00 -0400)]
core: fix a typo
ostree config had two 'set' subcommands, but no 'get'.
Colin Walters [Sat, 12 May 2012 14:39:39 +0000 (10:39 -0400)]
core: Don't look in packs if we found loose object
Unless the caller wants us to; which at present none do, but let's be
forward looking and add an option.
Colin Walters [Thu, 10 May 2012 18:29:23 +0000 (14:29 -0400)]
ostbuild: Add ostree-revision in buildroots, bin-to-src
First, for binary snapshots we need to include the exact revision of
the architecture buildroot. To do that, introduce
"architecture-buildroots2".
Second, for bin-to-src, we'd like to allow "partial" builds. So while
we do expand everything to source, *also* include the binary
ostree-revision. This will allow building just one component, while
reusing the previously built binaries.
Colin Walters [Thu, 10 May 2012 14:30:02 +0000 (10:30 -0400)]
ostbuild: Fix pull-components
We need to pull the actual commits, not the refs.
Colin Walters [Thu, 10 May 2012 14:29:26 +0000 (10:29 -0400)]
pull: Use API to stage files with length
Not doing so at the moment triggers a bug in the staging path, and
it's more efficient anyways.
Colin Walters [Thu, 10 May 2012 13:54:56 +0000 (09:54 -0400)]
pull: Add --prefer-loose option
This is a hack...
Colin Walters [Thu, 10 May 2012 13:47:24 +0000 (09:47 -0400)]
core: unpack: Add --keep-packs option
Matches the pack --keep-all-loose.
Colin Walters [Thu, 10 May 2012 12:50:37 +0000 (08:50 -0400)]
core: Fix ostree-pull to be able to look up remotes in parent repo
We should probably add a generalized inheritance mechanism.
Colin Walters [Thu, 10 May 2012 03:20:36 +0000 (23:20 -0400)]
core: pack: Keep loose objects which are referenced externally
By default, don't delete loose objects which have hard links. This
has the natural semantics that if you delete all the checkouts, you
probably want it packed.
Conversely, if it has a hard link, we do want further checkouts to
share storage, even if we pack in between them.
Colin Walters [Thu, 10 May 2012 03:19:54 +0000 (23:19 -0400)]
core: unpack: Actually delete no-longer-needed pack files
Colin Walters [Wed, 9 May 2012 23:46:29 +0000 (19:46 -0400)]
ostbuild: resolve: Add --fetch-patches option
This is kind of lame, but...
Colin Walters [Wed, 9 May 2012 23:40:24 +0000 (19:40 -0400)]
ostbuild: Allow using dirty-git: for patches too
Colin Walters [Wed, 9 May 2012 23:36:46 +0000 (19:36 -0400)]
ostbuild: Use .lastfetch file per branch
This way we don't try to update gtk+ twice, once for gtk master and
once for gtk-2-22.
Colin Walters [Wed, 9 May 2012 18:23:10 +0000 (14:23 -0400)]
ostree.doap: Update
Adrian Perez [Wed, 9 May 2012 15:49:03 +0000 (18:49 +0300)]
ostree-pull: Fix segfault by initializing pull_data earlier
In the case of not being able to check the repository or not being able
to parse command line arguments, attributes from "pull_data" would be used
with garbage in them. This patch makes initialization of the sctructure to
happen earlier so it is safe to use in those cases.
Colin Walters [Wed, 9 May 2012 16:46:04 +0000 (12:46 -0400)]
ostbuild: build-components: Ensure specifying components forces rebuild
Colin Walters [Wed, 9 May 2012 12:45:56 +0000 (08:45 -0400)]
Move gnomeos/ to "gnome-ostree" module
Now that we're hopefully going to be changing the format less. The
layering here is now more clear, rather than having things entangled.
Colin Walters [Tue, 8 May 2012 15:37:42 +0000 (11:37 -0400)]
Release 2012.6
Colin Walters [Tue, 8 May 2012 15:59:39 +0000 (11:59 -0400)]
build: A few dist fixes so a tarball build works
Colin Walters [Tue, 8 May 2012 14:21:38 +0000 (10:21 -0400)]
ostadmin: Use /ostree for current working directory of checkouts
Otherwise we put them in the wrong place.
Colin Walters [Tue, 8 May 2012 13:14:03 +0000 (09:14 -0400)]
ostadmin: Make a /ostree/current symbolic link
Colin Walters [Sun, 6 May 2012 21:03:50 +0000 (17:03 -0400)]
ostadmin: Initial code
Carl-Anton Ingmarsson [Sun, 6 May 2012 19:47:01 +0000 (21:47 +0200)]
ostbuild: further fixes to pull-components
Call self.parse_config() so that all necessary directories are parsed.
Also don't call nonexistant self.parse_active_branch() and just use
self.active_branch since it's already have been initialized.
Carl-Anton Ingmarsson [Sun, 6 May 2012 17:10:35 +0000 (19:10 +0200)]
gnomeos: fix ostree-install.sh
add back ARCH and BRANCH_PREFIX constants which are still in use.
Carl-Anton Ingmarsson [Thu, 26 Apr 2012 14:49:04 +0000 (16:49 +0200)]
15_ostree: only look for ostree initramfs
also only add a kernel entry if we find a corresponding initramfs
Colin Walters [Mon, 7 May 2012 21:51:12 +0000 (17:51 -0400)]
ostbuild: Default to (previous) --skip-built
For components specified on the command line, we now force a rebuild.
There's also a new option to skip if the git revision matches, but
metadata changed (useful for now to avoid cascading builds if you know
you don't need it).
Colin Walters [Mon, 7 May 2012 18:55:57 +0000 (14:55 -0400)]
NetworkManager: Fix permissions on config file
https://mail.gnome.org/archives/ostree-list/2012-May/msg00008.html
Matthias Clasen [Sun, 6 May 2012 02:40:03 +0000 (22:40 -0400)]
ostbuild: make pull-components work
This builtin did not work for me. It did not initialize self.repo,
it used the nonexisting parse_active_branch function unconditionally,
and it did not actually find the list of components in contents.json.
This commit fixes all three of these issues.
Matthias Clasen [Sun, 6 May 2012 03:05:37 +0000 (23:05 -0400)]
Fix a typo
Matthias Clasen [Sun, 6 May 2012 00:59:23 +0000 (20:59 -0400)]
ostree: avoid a segfault
When running ostree --repo=/ostree/repo without further arguments,
we end up calling strcmp with one argument being NULL.
Matthias Clasen [Sat, 5 May 2012 22:11:27 +0000 (18:11 -0400)]
checkout: Deal gracefully with bad input
I had a /ostree/gnomeos-3.4-i686-devel directory, and this caused
ostree --repo=repo checkout gnomeos-3.5-i686-devel
to segfault.
Colin Walters [Sat, 5 May 2012 20:03:53 +0000 (16:03 -0400)]
Release 2012.5
Colin Walters [Sat, 5 May 2012 20:00:53 +0000 (16:00 -0400)]
core: pack: Fix calculation of size of pack objects
In archive mode, due to the previous change, we're now only
looking at metadata size, which is clearly wrong.
Colin Walters [Sat, 5 May 2012 18:59:14 +0000 (14:59 -0400)]
core: pull: Fix regression from memory leak fixes